package com.zfsmart.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xuetieqi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DimDateBean {

    private String dateId;
    /**
     * 这一年的第几周
     */
    private int weekId;
    private int weekDay;
    private int day;
    private int year;
    private int quarter;
    private int month;
    /**
     * 类型描述 比如 国庆,休息日,工作日
     */
    private String holidayId;
    private int isWorkDay;

    @Override
    public String toString() {
        return dateId + '\t' +
                weekId + '\t' +
                weekDay + '\t' +
                day + '\t' +
                month + '\t' +
                quarter + '\t' +
                year + '\t' +
                isWorkDay + '\t' +
                holidayId;
    }
}
